"""
@Time: 2021/3/8 下午 8:38
@Author: jinzhuan
@File: kbp37.py
@Desc: 
"""
from cognlp.io.loader.re.kbp37 import KBP37RELoader

loader = KBP37RELoader()
data = loader._load('../../../../cognlp/data/re/kbp37/data/train.json')
print(1)

from cognlp.io.processor.re.kbp37 import KBP37REProcessor

processor = KBP37REProcessor(label_list=loader.get_labels(), path='../../../../cognlp/data/re/kbp37/data')
datable = processor.process(data)
print(1)
